package com.company.project.modular.system.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author lsf
 * @since 2018-10-30
 */
@TableName("sys_test_regist")
public class TestRegist extends Model<TestRegist> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("test_id")
    private String testId;
    @TableField("test_standard_code")
    private String testStandardCode;
    @TableField("test_code")
    private String testCode;
    @TableField("test_time")
    private Date testTime;
    @TableField("test_purpose")
    private String testPurpose;
    @TableField("test_pretreatment")
    private String testPretreatment;
    @TableField("test_pretreatment_yn")
    private Integer testPretreatmentYn;
    @TableField("test_remarks")
    private String testRemarks;

    @TableField("use_id")
    private Integer useId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTestId() {
        return testId;
    }

    public void setTestId(String testId) {
        this.testId = testId;
    }

    public String getTestStandardCode() {
        return testStandardCode;
    }

    public void setTestStandardCode(String testStandardCode) {
        this.testStandardCode = testStandardCode;
    }

    public String getTestCode() {
        return testCode;
    }

    public void setTestCode(String testCode) {
        this.testCode = testCode;
    }

    public Date getTestTime() {
        return testTime;
    }

    public void setTestTime(Date testTime) {
        this.testTime = testTime;
    }

    public String getTestPurpose() {
        return testPurpose;
    }

    public void setTestPurpose(String testPurpose) {
        this.testPurpose = testPurpose;
    }

    public String getTestPretreatment() {
        return testPretreatment;
    }

    public void setTestPretreatment(String testPretreatment) {
        this.testPretreatment = testPretreatment;
    }

    public Integer getTestPretreatmentYn() {
        return testPretreatmentYn;
    }

    public void setTestPretreatmentYn(Integer testPretreatmentYn) {
        this.testPretreatmentYn = testPretreatmentYn;
    }

    public String getTestRemarks() {
        return testRemarks;
    }

    public void setTestRemarks(String testRemarks) {
        this.testRemarks = testRemarks;
    }

    public Integer getUseId() {
        return useId;
    }

    public void setUseId(Integer useId) {
        this.useId = useId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "TestRegist{" +
        "id=" + id +
        ", testId=" + testId +
        ", testStandardCode=" + testStandardCode +
        ", testCode=" + testCode +
        ", testTime=" + testTime +
        ", testPurpose=" + testPurpose +
        ", testPretreatment=" + testPretreatment +
        ", testPretreatmentYn=" + testPretreatmentYn +
        ", testRemarks=" + testRemarks +
        ", useId=" + useId +
        "}";
    }
}
